Skip to content

chore(dev): update dependency typescript to v7 - #3713

Closed
fro-bot[bot] wants to merge 1 commit into
mainfrom
renovate/typescript-7.x
Closed

fro-bot[bot] wants to merge 1 commit into
mainfrom
renovate/typescript-7.x

Conversation

@fro-bot

@fro-bot fro-bot Bot commented Jul 22, 2026 •

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence OpenSSF Code Search
typescript (source) 6.0.3 → 7.0.2 age confidence OpenSSF Scorecard GitHub Code Search for "typescript"

Release Notes

microsoft/TypeScript (typescript)

v7.0.2: TypeScript 7.0.2

Compare Source

https://devblogs.microsoft.com/typescript/announcing-typescript-7-0/

This tag was originally released at: https://github.com/microsoft/typescript-go/releases/tag/typescript%2Fv7.0.2


Configuration

📅 Schedule: (in timezone America/Phoenix)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate CLI.

@fro-bot

fro-bot Bot commented Jul 22, 2026 •

Copy link
Copy Markdown
Contributor Author

⚠️ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: undefined
Command failed: pnpm run fix
$ pnpm run lint --fix
$ eslint && pnpm run check:md-links --fix

Oops! Something went wrong! :(

ESLint: 10.9.0

TypeError: Cannot read properties of undefined (reading 'Cjs')
    at Object.<anonymous> (/tmp/renovate/repos/github/fro-bot/.github/node_modules/.pnpm/@typescript-eslint+typescript-estree@8.58.1_supports-color@7.2.0_typescript@7.0.2/node_modules/@typescript-eslint/typescript-estree/dist/create-program/shared.js:59:18)
    at Module._compile (node:internal/modules/cjs/loader:1872:14)
    at Object..js (node:internal/modules/cjs/loader:2003:10)
    at Module.load (node:internal/modules/cjs/loader:1594:32)
    at Module._load (node:internal/modules/cjs/loader:1396:12)
    at wrapModuleLoad (node:internal/modules/cjs/loader:255:19)
    at Module.require (node:internal/modules/cjs/loader:1617:12)
    at require (node:internal/modules/helpers:153:16)
    at Object.<anonymous> (/tmp/renovate/repos/github/fro-bot/.github/node_modules/.pnpm/@typescript-eslint+typescript-estree@8.58.1_supports-color@7.2.0_typescript@7.0.2/node_modules/@typescript-eslint/typescript-estree/dist/create-program/getWatchProgramsForProjects.js:45:18)
    at Module._compile (node:internal/modules/cjs/loader:1872:14)
    at Object..js (node:internal/modules/cjs/loader:2003:10)
    at Module.load (node:internal/modules/cjs/loader:1594:32)
    at Module._load (node:internal/modules/cjs/loader:1396:12)
    at wrapModuleLoad (node:internal/modules/cjs/loader:255:19)
    at Module.require (node:internal/modules/cjs/loader:1617:12)
    at require (node:internal/modules/helpers:153:16)
    at Object.<anonymous> (/tmp/renovate/repos/github/fro-bot/.github/node_modules/.pnpm/@typescript-eslint+typescript-estree@8.58.1_supports-color@7.2.0_typescript@7.0.2/node_modules/@typescript-eslint/typescript-estree/dist/clear-caches.js:5:39)
    at Module._compile (node:internal/modules/cjs/loader:1872:14)
    at Object..js (node:internal/modules/cjs/loader:2003:10)
    at Module.load (node:internal/modules/cjs/loader:1594:32)
    at Module._load (node:internal/modules/cjs/loader:1396:12)
    at wrapModuleLoad (node:internal/modules/cjs/loader:255:19)
    at Module.require (node:internal/modules/cjs/loader:1617:12)
    at require (node:internal/modules/helpers:153:16)
    at Object.<anonymous> (/tmp/renovate/repos/github/fro-bot/.github/node_modules/.pnpm/@typescript-eslint+typescript-estree@8.58.1_supports-color@7.2.0_typescript@7.0.2/node_modules/@typescript-eslint/typescript-estree/dist/index.js:18:14)
    at Module._compile (node:internal/modules/cjs/loader:1872:14)
    at Object..js (node:internal/modules/cjs/loader:2003:10)
    at Module.load (node:internal/modules/cjs/loader:1594:32)
    at Module._load (node:internal/modules/cjs/loader:1396:12)
    at wrapModuleLoad (node:internal/modules/cjs/loader:255:19)
    at Module.require (node:internal/modules/cjs/loader:1617:12)
    at require (node:internal/modules/helpers:153:16)
    at Object.<anonymous> (/tmp/renovate/repos/github/fro-bot/.github/node_modules/.pnpm/@typescript-eslint+parser@8.58.1_eslint@10.9.0_jiti@2.7.0_supports-color@7.2.0__supports-color@7.2.0_typescript@7.0.2/node_modules/@typescript-eslint/parser/dist/parser.js:9:29)
    at Module._compile (node:internal/modules/cjs/loader:1872:14)
    at Object..js (node:internal/modules/cjs/loader:2003:10)
    at Module.load (node:internal/modules/cjs/loader:1594:32)
    at Module._load (node:internal/modules/cjs/loader:1396:12)
    at wrapModuleLoad (node:internal/modules/cjs/loader:255:19)
    at Module.require (node:internal/modules/cjs/loader:1617:12)
    at require (node:internal/modules/helpers:153:16)
    at Object.<anonymous> (/tmp/renovate/repos/github/fro-bot/.github/node_modules/.pnpm/@typescript-eslint+parser@8.58.1_eslint@10.9.0_jiti@2.7.0_supports-color@7.2.0__supports-color@7.2.0_typescript@7.0.2/node_modules/@typescript-eslint/parser/dist/index.js:4:16)
    at Module._compile (node:internal/modules/cjs/loader:1872:14)
    at Object..js (node:internal/modules/cjs/loader:2003:10)
    at Module.load (node:internal/modules/cjs/loader:1594:32)
    at Module._load (node:internal/modules/cjs/loader:1396:12)
    at wrapModuleLoad (node:internal/modules/cjs/loader:255:19)
    at Module.require (node:internal/modules/cjs/loader:1617:12)
    at require (node:internal/modules/helpers:153:16)
    at Object.<anonymous> (/tmp/renovate/repos/github/fro-bot/.github/node_modules/.pnpm/@typescript-eslint+eslint-plugin@8.58.1_@typescript-eslint+parser@8.58.1_eslint@10.9.0__b8088436e82eb19e0994014f05862e85/node_modules/@typescript-eslint/eslint-plugin/dist/raw-plugin.js:38:33)
    at Module._compile (node:internal/modules/cjs/loader:1872:14)

@fro-bot
fro-bot Bot force-pushed the renovate/typescript-7.x branch 2 times, most recently from 74594c5 to 0bba5ae Compare August 26, 2026 07:20
@marcusrbrown

Copy link
Copy Markdown
Collaborator

Closing this — it can't merge, and nothing on our side unblocks it.

The Lint failure isn't a peer warning, it's a hard crash. @typescript-eslint/typescript-estree reads ts.Extension.Cjs while building its extra-file-extension set (create-program/shared.js:59), and TypeScript 7's native rewrite no longer exposes that legacy API surface, so the lookup resolves undefined:

TypeError: Cannot read properties of undefined (reading 'Cjs')
    at @typescript-eslint/typescript-estree@8.58.1/dist/create-program/shared.js:59:18
    at getWatchProgramsForProjects.js:45:18

Every typescript-eslint release through 8.68.0 still declares typescript >=4.8.4 <6.1.0. The upstream report (typescript-eslint#12518) is closed as not planned. Bumping @bfra.me/eslint-config doesn't help either — 0.52.1 carries typescript-eslint 8.67.0, capped the same way. Microsoft's own guidance is that the native implementation doesn't preserve the Strada compiler API for tooling, and points at side-by-side installs rather than a compatibility shim.

Forcing it with overrides would bypass install protection without fixing the API incompatibility, so that's not on the table.

Worth noting the repo itself is already TS7-ready: the resolved tsconfig uses moduleResolution: "bundler" and target: "ES2022" with no baseUrl, so none of TS7's removals bite here, and scripts/ runs on Node's strip-only loader rather than this TypeScript. When upstream lands support, this should be a clean bump.

I've added a Renovate hold pinning typescript below 7 so this doesn't get reproposed every cycle. The signal to lift it is @typescript-eslint/parser publishing a peer range that permits 7.x.

@fro-bot

fro-bot Bot commented Aug 26, 2026

Copy link
Copy Markdown
Contributor Author

Renovate Ignore Notification

Because you closed this PR without merging, Renovate will ignore this update. You will not get PRs for any future 7.x releases. But if you manually upgrade to 7.x then Renovate will re-enable minor and patch updates automatically.

If you accidentally closed this PR, or if you changed your mind: rename this PR to get a fresh replacement PR.

@fro-bot
fro-bot Bot deleted the renovate/typescript-7.x branch August 26, 2026 18:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants